Optimal. Leaf size=3 \[ \text {ArcSin}(\coth (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3738, 4207,
222} \begin {gather*} \text {ArcSin}(\coth (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 3738
Rule 4207
Rubi steps
\begin {align*} \int \sqrt {1-\coth ^2(x)} \, dx &=\int \sqrt {-\text {csch}^2(x)} \, dx\\ &=\text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,\coth (x)\right )\\ &=\sin ^{-1}(\coth (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(20\) vs. \(2(3)=6\).
time = 0.01, size = 20, normalized size = 6.67 \begin {gather*} \sqrt {-\text {csch}^2(x)} \log \left (\tanh \left (\frac {x}{2}\right )\right ) \sinh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 4, normalized size = 1.33
method | result | size |
derivativedivides | \(\arcsin \left (\coth \left (x \right )\right )\) | \(4\) |
default | \(\arcsin \left (\coth \left (x \right )\right )\) | \(4\) |
risch | \(-\sqrt {-\frac {{\mathrm e}^{2 x}}{\left ({\mathrm e}^{2 x}-1\right )^{2}}}\, {\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right ) \ln \left ({\mathrm e}^{x}+1\right )+\sqrt {-\frac {{\mathrm e}^{2 x}}{\left ({\mathrm e}^{2 x}-1\right )^{2}}}\, {\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right ) \ln \left ({\mathrm e}^{x}-1\right )\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.50, size = 19, normalized size = 6.33 \begin {gather*} i \, \log \left (e^{\left (-x\right )} + 1\right ) - i \, \log \left (e^{\left (-x\right )} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {1 - \coth ^{2}{\left (x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 0.39, size = 26, normalized size = 8.67 \begin {gather*} {\left (i \, \log \left (e^{x} + 1\right ) - i \, \log \left ({\left | e^{x} - 1 \right |}\right )\right )} \mathrm {sgn}\left (-e^{\left (2 \, x\right )} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.18, size = 3, normalized size = 1.00 \begin {gather*} \mathrm {asin}\left (\mathrm {coth}\left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________